<?php

/**
 * @author Murat Cem YALIN <muratcem@gmail.com>
 * @copyright 2014 muratcem.com - walkerPHP.com
 * @license http://opensource.org/licenses/GPL-3.0 GNU General Public License, version 3
 * @version 1.0.1
 */

namespace core\Session;

interface ISession{
    /**
     * start session
     * @return mixed
     */
    public static function start();

    /**
     * get current session
     * @return mixed
     */
    public static function getCurrent();

    /**
     * close session
     * @return mixed
     */
    public static function logout();

    /**
     * get value from session
     * @return mixed
     */
    public function get();

    /**
     * set a key into session
     * @return mixed
     */
    public function set();

    /**
     * delete from session
     * @return mixed
     */
    public function delete();
}